<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>地区管理</title>
<link type="text/css" rel="stylesheet" href="<%=basePath %>statics/css/common/common-1.0.css">
    <link type="text/css" rel="stylesheet" href="<%=basePath %>statics/js/plug/jqueryUI/jquery-ui.css">
    <link rel="stylesheet" type="text/css" href="<%=basePath%>statics/js/plug/ztree/css/zTreeStyle/zTreeStyle.css">
    <link type="text/css" rel="stylesheet" href="<%=basePath %>statics/css/org/department/org_department.css">
    <script type="text/javascript" src="<%=basePath %>statics/js/plug/jquery-1.12.0.min.js"></script>
    <script type="text/javascript" src="<%=basePath %>statics/js/common/common-1.0.js"></script>
    <script type="text/javascript" src="<%=basePath %>statics/js/common/loading.js"></script>
    <script type="text/javascript" src="<%=basePath %>statics/js/plug/jqueryUI/jquery-ui.js"></script>
    <script type="text/javascript" src="<%=basePath%>statics/js/plug/ztree/js/jquery.ztree.all-3.5.min.js"></script>
    <script type="text/javascript" src="<%=basePath %>statics/js/area/info/area_info_list.js"></script>
</head>
<body style="width: 100%;height: 100%;">   

<div class="window-title-bar">
    <h5 class="title">地区管理</h5>
    <div class="nav">
        <span class="prev-nav">系统管理</span>
        <span class="space">/</span>
        <span class="cur-nav">地区管理</span>
    </div>
</div>    
    
    <shiro:hasPermission name="AreaInfo:view">
    
        <div class="main-content">
        <div class="main-left">
            <div class="grid-toolbar" style="margin: 0px">
                <input id="searchName" type="text" class="input-search" placeholder="关键字">
                <button type="button" class="btn-icon btn-search"
                        onclick="search_ztree('menuTree','searchName')"></button>
            </div>
            <div id="treeDiv" class="tree-list">
                <ul id="menuTree" class="ztree"></ul>
            </div>
        </div>
        <div class="main-right">
            <shiro:hasPermission name="AreaInfo:create">
            <div class="grid-list" style="margin:15px">

            </div>
            </shiro:hasPermission>
        </div>
    </div>
    </shiro:hasPermission>
    <!-- <div class="right-content">
        <div id="content" class="window-inline " style="position: static;"></div>
    </div> -->
	<div id="parentMenu" class="menuContent" style="width: 325px; overflow: auto;">
		<div class="grid-toolbar" style="padding-left:0px;margin:0px 10px;">
	    	<div class="grid-search-item" style="width:100%;">
			     <input id="searchParentName" class="input-search" type="text" style="width:100%;"/>
				 <button type="button" class="btn-icon btn-search" onclick="search_ztree('parentMenuTree','searchParentName')"></button>
			</div>
		</div>
    	<ul id="parentMenuTree" class="ztree"></ul>
	</div>
    <div id="loadDiv"></div> 
</body>
</html>